package com.anjie.powerproject.common;

/**
 * @author zxy
 * 请求状态枚举
 */
public enum HTTPEnum {
    SUCCESS(200, "操作成功"),
    FAIL(500, "系统内部错误");

    private Integer code;
    private String desc;

    HTTPEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
